<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>身份证认证</title>
    <link rel="stylesheet" href="/static/assets/bootstrap/dist/css/bootstrap.css">
    <link rel="stylesheet" href="/static/css/imageAuthor.css">
</head>
<body>
<div CLASS="layout">

    <div class="container">
        <h1>您还未实名，请先上传身份证</h1>
        <div class="artilce_content">
            <div class="article_content_left">
                       <a href="javascript:;" class="input_style_file_upload" title="拖拽图片上传">
                           <span class="glyphicon glyphicon-plus">
                                <p>点击上传或拖拽图片到此</p>
                                <input type="file" id="input_file_imgaeId" name="file" data-url="/user/uploadIdentityCard">
                           </span>
                       </a>
            </div>
            <div class="article_content_right">
                <a href="/page/agreement">确定</a>
            </div>
        </div>
    </div>
</div>


<script src="/static/assets/jquery/jquery.js"></script>
<script src="/static/assets/bootstrap/dist/js/bootstrap.js"></script>
<script src="/static/assets/jquery-fileupload/jquery.ui.widget.js"></script>
<script src="/static/assets/jquery-fileupload/jquery.fileupload.js"></script>
<script>
        $(function(){
            $("#input_file_imgaeId").fileupload({
                autoLoad:true,
                done:function(e,data){
                    alert("上传成功")
                    alert(data.result.result)
                }
            });


        });
</script>
</body>
</html>